@extends('admin.common.base-master')

@section('html-head')
    <link href="{{url('css/admin/pagenum.css')}}" rel="stylesheet" />
@endsection

@section('html-body')
    <!-- content start -->
    <div id="content">
        <!-- cur-position start -->
        <div id="cur-position">
            <span class="tit">当前位置：</span>
            <a href="#">运营管理</a>
            <em> > </em>
            <a href="#">招募列表</a>
        </div>
        <!-- cur-position end -->
        @include('admin.common.operation-header')


        <div class="table-box">
            <table class="table">
                <thead>
                <tr>
                    <th>ID</th>
                    <th>真实姓名</th>
                    <th>性别</th>
                    <th>身份证</th>
                    <th>邮箱</th>
                    <th>手机号</th>
                    <th>地区</th>
                    <th>提交时间</th>
                </tr>
                </thead>
                <tbody id="fansinfo">
                @if(count($volunteerList) > 0)
                    @foreach($volunteerList as $user)
                        <tr>
                            <td>{{$user->id}}</td>
                            <td>
                                <div class="info-box">
                                    <p>
                                        <span class="icon icon-rzh"></span>
                                        <span class="name">{{$user->realname}}</span>
                                        <img class="sex" src="{{url('/images/admin/girl.gif')}}" alt="" style="">
                                    </p>
                                </div>
                            </td>
                            <td>{{$user->sex_name}}</td>
                            <td>{{$user->id_card}}</td>
                            <td>{{$user->email}}</td>
                            <td>{{$user->phone}}</td>
                            <td>{{$user->province}}{{$user->city}}{{$user->area}}</td>
                            <td>{{$user->created_at}}</td>
                            {{--<td><a class="btnLump btnLump1" href="">删除｜锁定</a></td>--}}
                        </tr>
                    @endforeach
                @endif
                </tbody>
            </table>
            <?php echo $volunteerList->render(); ?>
        </div>
    </div>
    <!-- content end -->

@endsection